package com.wan.middleware.zookeeper;

/**
 * @author wwh
 * @date 2022/6/21 15:16
 */
public class ZkConfig {
    private String address;
    /** 心跳超时 */
    private int sessionTimeout = 15000;
    /** 连接超时 */
    private int connectionTimeout = 5000;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getSessionTimeout() {
        return sessionTimeout;
    }

    public void setSessionTimeout(int sessionTimeout) {
        this.sessionTimeout = sessionTimeout;
    }

    public int getConnectionTimeout() {
        return connectionTimeout;
    }

    public void setConnectionTimeout(int connectionTimeout) {
        this.connectionTimeout = connectionTimeout;
    }
}
